 <meta charset="utf-8">
 
 <div class="box" id="biz_authMenu_lookback_conatainer">
            <div class="box-header with-border">
            	<div class="btn-group " id="permissionToolbar" role="group">
				<button type="button" class="btn btn-default" v-on:click="confirm">
                        <i class="glyphicon glyphicon-ok" aria-hidden="true"></i>确认
                 </button>
                 <button type="button" class="btn btn-default" v-on:click="cancel">
                        <i class="glyphicon glyphicon-remove" aria-hidden="true"></i>取消
                 </button>                   
				</div>
            </div>
 <div class="box-body">
 		<div class="panel panel-default">
			<div class="panel-heading">菜单树展示</div>
			<div class="panel-body" id="authMenuTreeDiv">
			
			<ul id="menuTreeLookup" v-ktree="{url:'auth/authMenu/loadAuthMenuTree',chkEnable:true,chkStyle:'checkbox',chkboxType:{ 'Y': '', 'N': ''}}" class="ztree"></ul>
				
			</div>
		</div>
 </div>
 </div>
<script>
new Vue({  
	  el: '#biz_authMenu_lookback_conatainer',
	  data:{
		  bus:new Vue()
	  },
	  mounted:function(){
		 let _this=this;
		 //ZFTree.init();
	  },
    methods: {
    	confirm: function(){
    		let nodes=zfesZTree.getCheckedNodes("menuTreeLookup");
    		if(!nodes||nodes.length!=1){
    			alertSwal.successText("请选择一条数据");
    			return;
    		}
    		zfesLayerEditDg.setCallBackParam(nodes[0]);
			zfesLayerEditDg.close();
	  	  },
	  	cancel: function(){
	  		zfesLayerEditDg.close();
	  	 }
   }

});
</script>


